<?php
/*
 *
 *
CREATE DATABASE IF NOT EXISTS `base` default charset utf8 COLLATE utf8_general_ci;
CREATE DATABASE IF NOT EXISTS `quick_pay` default charset utf8mb4 COLLATE utf8mb4_general_ci;

grant all privileges on base.* to 'base_user'@'localhost' identified by '2kvpCzTaUdHWb6nA';
grant all privileges on quick_pay.* to 'quick_pay_user'@'localhost' identified by '2kvpCzTaUd*ds@#HWb6nA';

CREATE DATABASE IF NOT EXISTS `yangmao` default charset utf8mb4 COLLATE utf8mb4_general_ci;
grant all privileges on yangmao.* to 'yangmao_user'@'localhost' identified by '123456';

flush privileges;
 */
$db =
[
    'default'=>array (
		'host' => 'localhost',
		'port' => 3306,
		'database' => 'stock',
		'user' => 'root',
		'password' => 'zhunian1218',
		'charset' => 'utf8',
	),
	'hangqing'=>array (
		'host' => 'localhost',
		'port' => 3306,
		'database' => 'stock_hangqing_',
		'database_num' => 10,
		'table_num' => 10,
		'user' => 'root',
		'password' => 'zhunian1218',
		'charset' => 'utf8',
	),
    'hangqing_count'=>array (
        'host' => 'localhost',
        'port' => 3306,
        'database' => 'stock_hangqing_count',
        'user' => 'root',
        'password' => 'zhunian1218',
        'charset' => 'utf8',
    ),
	'id_maker'=>array (
        'host' => 'localhost',
        'port' => 3306,
        'database' => 'id_maker',
        'user' => 'root',
        'password' => 'zhunian1218',
        'charset' => 'utf8',
    ),
];
return $db;
